OSAGetCurrentDialect
You can use theOSAGetCurrentDialect
function to get the dialect code for the dialect currently being used by a scripting component.
FUNCTION OSAGetCurrentDialect (scriptingComponent: ComponentInstance; VAR resultingDialectCode: Integer): OSAError;
scriptingComponent
- A component instance created by a prior call to the Component Manager function
OpenDefaultComponent
orOpenComponent
(see page 10-4).resultingDialectCode
- The
OSAGetCurrentDialect
function returns, in this parameter, the code for the current dialect of the specified scripting component.RESULT CODES
noErr 0 No error errOSASystemError -1750 General scripting system error errOSANoSuchDialect -1757 Invalid dialect code badComponentInstance $80008001 Invalid component instance
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help